import type { App } from "vue";
import { ControlType, registerControlProvider } from "@ibiz-template/runtime";
import IBizEditFormControl from "./i-biz-edit-form-control.vue";
import { EditFormProvider } from "./i-biz-edit-form-control.provider";

export const IBizEditForm = {
  install(v: App) {
    v.component('IBizEditFormControl', IBizEditFormControl);
    registerControlProvider(ControlType.FORM, () => new EditFormProvider());
  },
}
